package com.ruoyi.kindergarten.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.web.multipart.MultipartFile;

/**
 * 行为检测与报警模块对象 behavior_monitor
 * 
 * @author ruoyi
 * @date 2025-10-26
 */
@Data
public class BehaviorMonitor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录id */
    private Long id;

    /** 行为名称 */
    @Excel(name = "行为名称")
    private String behaviorName;

    /** 行为地点 */
    @Excel(name = "行为地点")
    private String location;

    /** 姓名 */
    @Excel(name = "姓名")
    private Long studentId;
    private String  studentName;

    /** 班级 */
    @Excel(name = "班级")
    private Long classId;
    private String  className;

    /** 报警状态 */
    @Excel(name = "报警状态")
    private Long alertStatus;

    /** 报警时间 */
    private Date alertTime;

    /** 确认人 */
    private String confirmUser;

    /** 确认时间 */
    private Date confirmTime;

    private String img;


    @Override
    public String toString() {
        return "BehaviorMonitor{" +
                "id=" + id +
                ", behaviorName='" + behaviorName + '\'' +
                ", location='" + location + '\'' +
                ", studentId=" + studentId +
                ", studentName='" + studentName + '\'' +
                ", classId=" + classId +
                ", className='" + className + '\'' +
                ", alertStatus=" + alertStatus +
                ", alertTime=" + alertTime +
                ", confirmUser='" + confirmUser + '\'' +
                ", confirmTime=" + confirmTime +
                ", img='" + img + '\'' +
                '}';
    }
}
